//引入 请求头
// import {baseUrl} from "../https.js"
// 选择头部
function mingzi(){
	return uni.request({
		url:`/www/api/course-group-list`,
		method:"GET",
		
		
	})
}
//列表2
function lists(){
	return uni.request({
		url:`/www/api/course/video?is_recommend=Y&limit=8&not_ids=`,

		method:"GET",
		
		
	})
}
//最新上架
function listzuixin(){
	return uni.request({
		url:`/www/api/course/video?type=1&limit=8&not_ids=1273,1143,529,1413,1233,1281,1210,971`,

		method:"GET",
		
		
	})
}
// 限时免费
function listxianshi(){
	return uni.request({
		url:`https://m.lanqb.com/api/course/video?is_free=Y&limit=8&not_ids=1273,1143,529,1413,1233,1281,1210,971,1486,1484,1483,1482,1481,1480,1473,1471`,
		method:"GET",
		
		
	})
}
// 主体名称
function listmc(){
	return uni.request({
		url:`https://m.lanqb.com/api/course-group-list`,
		method:"GET",
		
		
	})
}
// 列表数据
function listsj(){
	return uni.request({
		url:`https://m.lanqb.com/api/course/video?type=2&page=1`,
		method:"GET",
		
		
	})
}
//切换数据
function listqiehuan(ids,type,limit,page,level){

		return uni.request({
			url:`https://m.lanqb.com/api/course/video?course_fields_ids=${ids}&type=${type}&level=${level}&limit=${limit}&page=${page}`,
			method:"GET",
			
			
		})
	
	
}
function listqiesj(ids,type,limit,page){

		return uni.request({
			url:`https://m.lanqb.com/api/course/video?course_fields_ids=${ids}&type=${type}&limit=${limit}&page=${page}`,
			method:"GET",
			
			
		})
	
	
}

export default{
	mingzi,
	lists,
	listzuixin,
	listxianshi,
	listmc,
	listsj,
	listqiehuan,
	listqiesj,

	
}